export default {
    namespaced: true,
    state: {
      profile: {},
    },
   mutations:{
    setProfile(state,  profile) {
      state.profile = {
        ...state.profile,
        ...profile
      };
    },
    clearProfile(state){
      state.profile={}
    }
   }
}